home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_usrdoc / NCURSES-.{1J / TO-DO.{_2 < prev   
Text File  |  1999-09-17  |  10KB  |  241 lines

  1. SHORT-TERM TO-DO ITEMS:
  2.  
  3. Known Problems:
  4.  
  5. * The endwin/initscr paradigm previously described to "solve" xterm resizing
  6.   has been dropped, since XSI says that's a no-no.  The portable solution
  7.   would be to use endwin/refresh, and detect the xterm resizing during the
  8.   first refresh (or doupdate).  Doing this will result in correcting the 
  9.   allocation of SP (a long-known bug ;-), and taking into account the
  10.   ripped-off-lines, and reallocating where necessary the subwindows of stdscr.
  11.  
  12. * The version numbering scheme for shared libraries does not follow the
  13.   latest Linux scheme implemented in ld.so.1.8.5; this version no longer
  14.   accepts that a shared library file that is not a symbolic link can have a
  15.   name different from its soname.
  16.  
  17. * The code departs from perfect 8-bit cleanness in one respect; you cannot
  18.   specify a character \200 as part of a capability string, because the terminfo
  19.   library interprets \200 as a request to embed NUL (\000) at that point (the
  20.   actual code that does this is in ncurses/lib_options.c:add_keytry().
  21.   This is a legacy terminfo property we can't mess with.
  22.  
  23. * Recognition of xterm mouse reports is implemented by setting the kmous 
  24.   capability to the mouse-report prefix.  As a result, the kmous sequence is
  25.   eaten even when mouse recognition is disabled.  This could be fixed if 
  26.   necessary with special code that pokes the kmous value back into the
  27.   input fifo when KEY_MOUSE is seen and the mousemask is zero, but that would
  28.   be kind of ugly.
  29.  
  30. * The window classes defined in the c++ subdirectory need documentation.
  31.   Some C++ programmer could earn a lot of good karma by doing this...
  32.  
  33. Portability (or lack thereof):
  34.  
  35. * Users of older System V UNIXes (but not Solaris, and probably not SVr4)
  36.   may trip over a known problem with the signal-handling code which causes
  37.   abrupt termination of ncurses applications following resume from a ^Z
  38.   suspend (this problem was first seen running lynx).  You will not see 
  39.   this problem if you are running Linux or one of the 4.4BSD derivatives
  40.   like FreeBSD, NetBSD, or BSDI.  For details, see the analysis in the
  41.   header comment of ncurses/lib_tstp.c.
  42.  
  43. * In theory, vwprintw and vwscanf are supposed to use the older varargs.h
  44.   interface for handling variadic argument lists.  Linux doesn't have
  45.   varargs.h, it has the newer X/Open-standard stdargs.h equivalent. So
  46.   these functions use stdargs instead.  This is unlikely to be a problem 
  47.   unless you're building ncurses on a System V old enough to only have
  48.   varargs.h.
  49.  
  50. * If you're using a BSD earlier than 4.4BSD, or a Linux old enough not to
  51.   have a native vsscanf(3) in its library, vwscanw() will not work.  You lose.
  52.   (It should work on any System V, however).  If you want to fix this, add
  53.   an implementation to ncurses/vsscanf.c.
  54.  
  55. * The demo build for the c++ library craps out with many link errors under gcc
  56.   2.6.3.  We're told the C++ support in 2.6.3 is broken and that the right
  57.   fix is to upgrade to 2.7.0.
  58.  
  59. * Under Ultrix, configure craps out (Ultrix sh is lame).  Run it under ksh.
  60.  
  61. Untested features:
  62.  
  63. * The rep optimization in lib_doupdate.c is not yet thoroughly tested.
  64.  
  65. * The code for the HP color model using set_color_pair is untested.
  66.  
  67. * The code for handling soft labels on a terminal type with built-in support
  68.   for them (num_labels > 0, label_height, label_width, label_format, label_off,
  69.   label_on, plab_norm, lab_f*) has not been tested.  The label_format and
  70.   lab_f* capabilities aren't presently used.
  71.  
  72. LONGER-TERM TO-DO ITEMS:
  73.  
  74. 1. Extended mouse support via gpm integration
  75.  
  76. We have mouse support under xterm now, implemented and documented.  The
  77. next step is to add code to lib_mouse.c that can detect Alessandro Rubini's
  78. GPM server and use it to implement the same interface.
  79.  
  80. 2. Extended COSE conformance
  81.  
  82. There is an XPG4 standard recently released which describes a superset
  83. of the SVr4 API.  The library is BASE conformant with this standard.
  84. We would like to make ncurses fully conformant at the EXTENDED level
  85. supporting internationalization.
  86.  
  87. Here are page references to all material involving wide or multi-byte
  88. characters in Issue 4 of the XSI Curses standard, with notes on their
  89. status in this implementation:
  90.  
  91.     Page 1 (1.1.2) New Features discussion of internationalization.
  92.     Page 12 (2.4): Definition of cchar_t, wchar_t.
  93.     Page 16 (3.3.2): Introduction of multi-column characts.
  94.     Page 17-18 (3.3.5): Description of non-spacing characters.
  95.     Page 19-21 (3.4.2): Basic character operations.
  96.     Page 34 (addnstr): These should now call underlying wide-
  97. character functions, and do (through waddnstr) if _XOPEN_SOURCE_EXTENDED is on).
  98.     Page 35 (addnwstr): wide-character add-string functions.  All macros 
  99. except waddnwstr() which is not yet defined.
  100.     Page 36 (add_wch): wide-character add-char functions.  All macros 
  101. except wadd_wch() which is not yet defined.
  102.     Page 39 (attr_get): implemented -- we've just made the current-
  103. attributes field of the window an attr_t.
  104.     Page 43 (bkgrnd):  None of these are implemented.
  105.     Page 45 (border_set): Neither of these is implemented.
  106.     Page 47 (box_set): box_set implemented as macro, but the underlying
  107. wborder_set() is not yet defined.
  108.     Page 78 (echo_wchar): echo_wchar() implemented as macro, underlying
  109. wecho_wchar() not yet implemented.
  110.     Page 81 (erasechar): Neither entry point is implemented.
  111.     Page 87 (getbkgrnd): Not implemented.
  112.     Page 88 (getcchar): Not implemented.
  113.     Page 93 (getn_wstr): All implemented (as macros) except the
  114. underlying wgetn_wstr().
  115.     Page 97 (get_wch):  All implemented (as macros) except the
  116. underlying wget_wch().
  117.     Page 99 (get_wstr): Xref to page 93.
  118.     Page 105 (hline_set): All implemented (as macros) except the
  119. underlying whline_set(), wvline_set().
  120.     Page 114 (innstr): Multi-byte character-completeness check is
  121. not implemented.
  122.     Page 115 (innwstr): All implemented (as macros) except the
  123. underlying winnw_str().
  124.     Page 119 (insnstr): Implementation may not be correct for multi-byte
  125. characters.
  126.     Page 120 (ins_nwstr): Not implemented.
  127.     Page 121 (insstr): Xref to page 119.
  128.     Page 122 (instr): Xref to page 119.
  129.     Page 123 (ins_wch): Not implemented.
  130.     Page 124 (ins_wstr): Xref to page 120.
  131.     Page 126 (in_wch): Not implemented.
  132.     Page 127 (in_wchnstr): Not implemented.
  133.     Page 128 (inwstr): Xref to page 115.
  134.     Page 133 (killwchar): killwchar not implemented.
  135.     Page 158 (pechochar): pecho_wchar() not implemented.
  136.     Page 176 (setcchar): Not implemented.
  137.     Page 181 (slk_attroff): slk_wset not implemented.
  138.     Page 200 (ungetch): unget_wch() not implemented.
  139.     Page 203 (vidattr): vid_attr() and vid_puts() not implemented.
  140.     Page 206 (vline_set): Xref to page 105.
  141.     Page 214 (wunctrl): Not implemented.
  142.     Page 216 (curses.h): cchar_t, wint_t, wchar_t references.
  143.     Page 220 (curses.h): KEY_CODE_YES
  144.  
  145. Basically, the macro superstructure is there but the core is absent.  We
  146. need better multi-locale support guarantees from the OS to finish this.
  147. If you are working on internationalization support, please contact us so
  148. we can cooperate.
  149.  
  150. 3. DOS port
  151.  
  152. Only 16 of the 55 files in the library depend on the terminfo format.
  153. It should be possible to further kernelize the package, then rewrite 
  154. a small number of core files to produce a functionally-compatible
  155. port that would do updates to a memory-mapped screen area.  The first
  156. result of this would be a DOS port.
  157.  
  158. 4. X port
  159.  
  160. It would be nice if ncurses could recognize when it was running under X and
  161. maintain its own window.  With this feature, all ncurses programs would
  162. automatically become X programs.  The challenge is to handle resize events
  163. properly.
  164.  
  165. 5. Unused capabilities
  166.  
  167. The currently unused capabilities fall naturally into several groups:
  168.  
  169. A. Status-line capabilities:
  170.  
  171.     Booleans: has_status_line, status_line_esc_ok.
  172.     Numerics: width_status_line.
  173.     Strings: dis_status_line, from_status_line, to_status_line.
  174.  
  175. System V Release 1 curses made no use of these at all.  SVr4's use, if
  176. any, is unknown.  From the AT&T termcap file it looks like curses, in general,
  177. shouldn't use them; terminal variants with status lines have their line count
  178. decremented by 1, suggesting that curses is supposed to leave the status line
  179. alone.
  180.  
  181. B. Printer capabilities:
  182.  
  183.     Boolean: col_addr_glitch, cr_cancels_micro_mode, has_print_wheel,
  184.         row_addr_glitch, semi_auto_right_margin, cpi_changes_res,
  185.         lpi_changes_res.
  186.     Numeric: buffer_capacity, dot_horz_spacing, dot_vert_spacing,
  187.         max_micro_address, max_micro_jump, micro_col_size,
  188.         micro_line_size, number_of_pins, output_res_char,
  189.         output_res_line, output_res_horz_inch, print_rate,
  190.         wide_char_size, bit_image_entwining, bit_image_type.
  191.     String: down_half_line, form_feed, up_half_line, set_left_margin,
  192.         set_right_margin, clear_margins, change_char_pitch
  193.         ... set_page_length (all the SVr4 printer caps),
  194.  
  195. Curses doesn't use these.
  196.  
  197. C. Printer-control capabilities:
  198.  
  199.     Boolean: prtr_silent.
  200.     Strings: print_screen, prtr_on, prtr_off, prtr_non.
  201.  
  202. Curses doesn't use these.
  203.  
  204. D. Dialer strings:
  205.  
  206.     Strings: hangup, dial_phone, quick_dial, tone, pulse, flash_hook,
  207.         fixed_pause, wait_tone.
  208.  
  209. Curses doesn't use these.
  210.  
  211. E. Window and virtual-terminal capabilities:
  212.  
  213.     Numerics: maximum_windows, virtual_terminal.
  214.     Strings: req_for_input, create_window, goto_window, set_window.
  215.  
  216. These seem to be fossils from some AT&T experiments on character-based
  217. window systems that never escaped the lab.  The virtual_terminal cap had
  218. something to do with building terminal emulations into tty line disciplines.
  219.  
  220. F. Unused VDT capabilities:
  221.  
  222.     Booleans: erase_overstrike, has_meta_key, insert_null_glitch,
  223.         move_insert, dest_tabs_magic_smso, transparent_underline,
  224.         needs_xon_xoff, hard_cursor.
  225.     Numerics: lines_of_memory, buttons.
  226.     Strings: pkey_key, pkey_local, pkey_xmit, underline_char, 
  227.         enter_xon_mode,    exit_xon_mode, xon_character, xoff_character, 
  228.         display_clock, remove_clock, user[0-5], display_pc_char,
  229.         enter_scancode_mode, exit_scancode_mode, pc_term_options, 
  230.         scancode_escape, alt_scancode_esc.
  231.  
  232. These are the potentially important ones for ncurses.  Notes:
  233.  
  234.     i) ncurses doesn't need move_insert; it never uses cup/hpa/vpa while
  235.         insert_mode is on.
  236.  
  237.     ii) We probably don't care about dest_tabs_magic_smso; only
  238.         Telerays used it and they're all long obsolete.
  239.  
  240.  
  241.